build: squash various warnings with Clang
authorChristian Hergert <chergert@redhat.com>
Sat, 18 Jul 2020 00:59:09 +0000 (17:59 -0700)
committerChristian Hergert <chergert@redhat.com>
Tue, 21 Jul 2020 21:45:12 +0000 (14:45 -0700)
Otherwise we have really chatty builds that make it difficult to catch
new issues when compiling.

meson.build

index 2d33e6fe34c405fef22b26284500829eefb70d95..85656d20c33b61aec8226a0d1519566ab474a12d 100644 (file)
@@ -235,6 +235,8 @@ if cc.get_id() == 'msvc'
 elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
   test_cflags = [
     '-fno-strict-aliasing',
+    '-Wno-c++11-extensions',
+    '-Wno-missing-include-dirs',
     '-Wno-typedef-redefinition',
     '-Wcast-align',
     '-Wduplicated-branches',